+2005-06-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilesystemunix.c (create_file_info): Treat backup
+ files the same way as hidden files, to be closer to what
+ Nautilus does. (#136196, Sean Middleditch)
+
2005-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
+2005-06-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilesystemunix.c (create_file_info): Treat backup
+ files the same way as hidden files, to be closer to what
+ Nautilus does. (#136196, Sean Middleditch)
+
2005-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
+2005-06-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilesystemunix.c (create_file_info): Treat backup
+ files the same way as hidden files, to be closer to what
+ Nautilus does. (#136196, Sean Middleditch)
+
2005-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
}
if (types & GTK_FILE_INFO_IS_HIDDEN)
- gtk_file_info_set_is_hidden (info, basename[0] == '.');
+ {
+ if (basename[0] == '.' || basename[strlen (basename) - 1] == '~')
+ gtk_file_info_set_is_hidden (info, TRUE);
+ }
if (types & GTK_FILE_INFO_IS_FOLDER)
gtk_file_info_set_is_folder (info, S_ISDIR (statbuf->st_mode));